/*
* @author dumeng
*/
'use strict'

import request from '@/utils/request'

/**
 * 查询
 * @param {*} data
 */
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: 'backend/childAccount/query',
    method: 'post',
    data
  })
}

/**
 * 添加
 * @param {*} data
 */
export function insert(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/childAccount/insert',
    method: 'post',
    data
  })
}
